from abc import ABC, abstractmethod


class IVisitor(ABC):
    @abstractmethod
    def visit_key(self, value):
        pass
    @abstractmethod
    def visit_bytes(self, value):
        pass
    @abstractmethod
    def visit_dict(self, map_access):
        pass
    @abstractmethod
    def visit_list(self, seq_access):
        pass

